YAIP TV ID kit - test build for Samsung TVs
======================================================

Thanks for testing! This puts YAIP on your Samsung TV before it is in the Samsung store.
You need the TV and a Mac or Windows computer on the same Wi-Fi/network.

Samsung only installs test apps that are signed for each individual TV. So the first time,
the installer shows your TV's ID; send it to https://t.me/YaipSupportBot?start=samsung (open /samsung, then paste the complete TV ID) and you'll get a kit made for your TV.
After that, installing takes a couple of minutes.


1. START THE INSTALLER ON THE COMPUTER
-------------------------------------
Mac:
  - Double-click the zip to unzip it, then double-click "Install on Mac.command".
  - If macOS says it cannot be opened: open System Settings > Privacy & Security, scroll down,
    click "Open Anyway" next to "Install on Mac.command", then confirm.
  - On newer Macs it may ask to install Apple's "Rosetta" and for your Mac password. That's normal.

Windows:
  - Right-click the zip > "Extract All...", open the extracted folder.
  - Double-click "Install on Windows.cmd".
    If a blue "Windows protected your PC" box appears: click "More info" > "Run anyway".
    If Windows asks whether "sdb" may use the network: click "Allow".

The installer shows "This computer's IP address". Keep the window open.


2. TURN ON DEVELOPER MODE ON THE TV (one time)
----------------------------------------------
  a. Open "Apps" on the TV (Home button > Apps).
  b. On the Apps screen, type 1 2 3 4 5 with the remote's number keys
     (no number keys? use the on-screen number pad: press the 123 button).
  c. In the Developer Mode window: switch Developer mode ON, and in "Host PC IP" enter the
     computer's IP address shown by the installer. Press OK.
  d. Restart the TV: switch it off, unplug it for 30 seconds, plug it in and switch it on.

  Find the TV's own IP address: Settings > General (or Connection) > Network > Network Status
  > IP Settings.


3. FINISH IN THE INSTALLER
--------------------------
Type the TV's IP address and press Enter. The installer then shows "Host PC IP on the TV must
be: ..." - that is the address to use in step 2c.

  - First time: it shows "Your TV ID" (also copied and saved in "MY TV ID.txt").
    Send it to https://t.me/YaipSupportBot?start=samsung (open /samsung, then paste the complete TV ID). When you get the new kit, run it the same way (step 1, then step 3;
    Developer Mode is already set up).
  - When the kit is made for your TV: it installs YAIP and opens it. Done!


GOOD TO KNOW
------------
- The computer's IP can change (e.g. after a router restart). If the installer can't connect
  later, enter the new IP in the TV's Developer Mode window (step 2) and restart the TV.
- New test build? Run the new kit the same way; it replaces the old version.
- To remove the app: TV Home > Apps > Settings (gear) > select YAIP > Delete.


SOMETHING WENT WRONG?
---------------------
- "The TV ... isn't accepting connections": Developer Mode is off, the TV wasn't unplugged after
  turning it on, or the TV's IP is wrong. Fix it, then press Enter in the installer to try again.
- "The TV is in Developer Mode but didn't let this computer connect": Host PC IP on the TV doesn't
  match the address the installer shows. Correct it (step 2c), unplug the TV for 30 seconds and
  run the installer again. On Windows, sdb must be allowed through the firewall.
- "This computer doesn't seem to be on the TV's network": connect both to the same Wi-Fi
  (not a guest network).
- Anything else: restart the TV and run the installer again. Still stuck? Send a photo of the
  window to https://t.me/YaipSupportBot?start=samsung (open /samsung, then paste the complete TV ID).
